
const moduleA = {
    state:() => ({
        countA:20
    }),
    getters: {
        doubleCountA(state) {
            return state.countA * 2
        }
    },
    mutations: {
        incrementA(state) {
            state.countA++
        }
    },
    actions:{
        asyncIncrementA({ commit }) {
            commit('incrementA')
        }
    }
}
export default moduleA
